﻿using System;
namespace WcfServiceLibrary1.Ctrl
{
    interface IUserCtrl
    {
        CinemaProject.User getUser(int id);
        CinemaProject.User getUser(string username);
        System.Collections.Generic.List<CinemaProject.User> getUsers();
        System.Collections.Generic.List<CinemaProject.User> getUsersSearch(string name);
        void insertUser(CinemaProject.User user);
        void removeUser(int id);
        void updateUser(CinemaProject.User user);
    }
}
